package com.chagee.store.operation.server;

import com.chagee.store.operation.common.constant.LauncherConstant;
import com.chagee.testing.annotation.EnableChageeTesting;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springblade.core.cloud.client.BladeCloudApplication;
import org.springblade.core.cloud.feign.EnableBladeFeign;
import org.springblade.core.launch.BladeApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ImportResource;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * DubboProviderApplication
 *
 * @author Chill
 */
@EnableDubbo
@EnableAsync
@BladeCloudApplication
@ImportResource(value = {
	"classpath*:springxml/*.xml"})
@ComponentScan({"com.chagee.store.operation","com.chagee.scm"})
@MapperScan("com.chagee.store.operation.server.event.dao")
@EnableChageeTesting
@EnableBladeFeign
public class DubboProviderApplication {

	public static void main(String[] args) {
		BladeApplication.run(LauncherConstant.APP_ID, DubboProviderApplication.class, args);
	}

}
